Woocommerce\Pagarme\Concrete\WoocommerceCoreSetup A

Total Complexity 51
Dependencies 16
Dependents 7
Total lines 390
Lines of code 276
Logical lines of code 149
Comment lines 11
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
getBrandConfig()
A
46 10 39
fillWithPixConfig()
S
55 4 20
fillWithGeneralConfig()
S
59 3 14
fillWithMarketplaceConfig()
S
56 2 18
loadModuleConfigurationFromPlatform()
S
55 1 21
setConfig()
S
58 1 18
fillWithCardConfig()
S
56 1 18
setPlatformVersion()
S
68 2 7
getInstallmentType()
S
67 2 8
getPlatformHubAppPublicAppKey()
S
67 2 8
reloadModuleConfigurationData()
S
69 2 7
fillWithGooglePayConfig()
S
62 1 12
fillWithVoucherConfig()
S
62 1 11
fillWithPagarmeKeys()
S
65 1 9
_formatToCurrency()
S
80 1 3
getCurrentStoreId()
S
81 1 3
getDefaultStoreId()
S
81 1 3
getPlatformStoreTimezone()
S
81 1 3
fillWithAddressConfig()
S
89 1 2
fillWithRecurrenceConfig()
S
89 1 2
setModuleVersion()
S
80 1 3
fillWithMultiBuyerConfig()
S
76 1 4
fillWithTwoCreditCardsConfig()
S
76 1 4
fillWithBoletoCreditCardConfig()
S
76 1 4
fillWithBoletoConfig()
S
68 1 7
fillWithDebitConfig()
S
89 1 2
checkWebSiteExists()
S
81 1 3
_getStoreLanguage()
S
80 1 3
_getDashboardLanguage()
S
80 1 3
getDatabaseAccessObject()
S
77 1 4
setLogPath()
S
67 1 8
fillWithHubConfig()
S
73 1 5